<?php $rand_post=get_posts('numberposts=1&orderby=rand&cat=-61'); foreach($rand_post as $post) : ?>
<script type="text/javascript">location="<?php the_permalink(); ?>";</script>
<?php endforeach; ?>